Caption = "Run the program and play with the menus to see this work. When playing, remember: No code required!"
Height = 735
Left = 840
TabIndex = 2
Top = 1320
Visible = 0 'False
Width = 3495
End
Begin Label Label2
Caption = "This MenuEv control has no code associated with it. It uses the LinkControl and LinkProperty properties to automatically update the Label1 control."
Height = 1095
Left = 840
TabIndex = 1
Top = 240
Visible = 0 'False
Width = 3495
End
Begin Label Label1
BackColor = &H00C0C0C0&
Caption = "Label1"
ForeColor = &H00000000&
Height = 255
Left = 120
TabIndex = 0
Top = 2490
Width = 4335
End
Begin Shape Shape1
BackColor = &H00C0C0C0&
BackStyle = 1 'Opaque
Height = 375
Left = -10
Top = 2400
Width = 4695
End
Begin Menu MenuFile
Caption = "&File"
Begin Menu MenuFileNew
Caption = "&New"
Tag = "Create File..."
End
Begin Menu MenuFileOpen
Caption = "&Open"
Tag = "Open File..."
End
Begin Menu MenuFileClose
Caption = "&Close"
Tag = "Close File..."
End
Begin Menu MenuFileSep
Caption = "-"
End
Begin Menu MenuFileExit
Caption = "E&xit"
Tag = "Exit Program"
End
End
Begin Menu MenuEdit
Caption = "&Edit"
End
Begin Menu MenuView
Caption = "&View"
Tag = "View Menu"
End
End
Option Explicit
Sub Form_Load ()
Label1 = ""
MenuFile.Tag = "Create, open, save files or quit."